package com.itheima.redbaby.engine;

import java.util.List;

import com.itheima.redbaby.bean.Product;

/***
 * 热门单品
 * 
 * @author xun { "response": "hotproduct", "productlist": [ { "id": "1102539",
 *         //商品ID "name": "雅培金装", //商品名称 "pic": "", //商品图片URL "marketprice":
 *         "79", //市场价 "price": "78", //会员价 }, { "id": "1102539", //商品ID "name":
 *         "雅培金装", //商品名称 "pic": "", //商品图片URL "marketprice": "79", //市场价
 *         "price": "78", //会员价 } ] , "list_count":"15" //商品总数 }
 */
public interface HotProductEngine {

	/***
	 * 获得热门商品
	 * 
	 * @param page
	 * @param pageNum
	 * @return
	 */
	public List<Product> HotProductPList(int page, int pageNum);
}
